class WaterinVasionBean {
  String createTime;
  String equipmentId;
  String id;
  String sensorId;
  String sensorName;
  int status;

  WaterinVasionBean(
      {this.createTime,
        this.equipmentId,
        this.id,
        this.sensorId,
        this.sensorName,
        this.status});

  @override
  String toString() {
    return 'WaterinVasionBean{createTime: $createTime, equipmentId: $equipmentId, id: $id, sensorId: $sensorId, sensorName: $sensorName, status: $status}';
  }

  WaterinVasionBean.fromJson(Map<String, dynamic> json) {
    createTime = json['createTime'];
    equipmentId = json['equipmentId'];
    id = json['id'];
    sensorId = json['sensorId'];
    sensorName = json['sensorName'];
    status = json['status'];
  }

  static fromJsonList(List<dynamic> list) {
    return list.map((e) => WaterinVasionBean.fromJson(e)).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['createTime'] = this.createTime;
    data['equipmentId'] = this.equipmentId;
    data['id'] = this.id;
    data['sensorId'] = this.sensorId;
    data['sensorName'] = this.sensorName;
    data['status'] = this.status;
    return data;
  }
}

